<?php
declare(strict_types=1);

namespace SixShop\Eav\Model;

use think\Model;
use think\model\concern\SoftDelete;

/**
 * Class SixShop\Eav\Model\EavAttributeOptionModel
 *
 * @property int $attribute_id 属性ID
 * @property int $id
 * @property int $sort 排序
 * @property string $create_time
 * @property string $delete_time
 * @property string $label 显示文本
 * @property string $update_time
 * @property string $value 选项值
 * @method static \think\db\Query onlyTrashed()
 * @method static \think\db\Query withTrashed()
 */
class EavAttributeOptionModel extends Model
{
    use SoftDelete;

    protected function getOptions(): array
    {
        return [
            'name' => 'extension_eav_attribute_option',
        ];
    }
}
